import Layout from '@/layout'

export default {
  path: '/authority',
  component: Layout,
  redirect: '/authority/userlist',
  name: 'Authority',
  meta: { title: '权限管理', icon: 'el-icon-copy-document' },
  children: [
    {
      path: 'userlist',
      name: 'UserList',
      component: () => import('@/views/Authority/UserList'),
      meta: { title: '角色列表', icon: 'el-icon-menu' }
    },
    {
      path: 'authoritylist',
      name: 'AuthorityList',
      component: () => import('@/views/Authority/AuthorityList'),
      meta: { title: '权限列表', icon: 'el-icon-menu' }
    }
  ]
}
